package demo2;

class MyThread3 implements Runnable {

    @Override
    public void run() {
        System.out.println("我是实现Runnable的run方法");
    }
}
public class func3 {
    public static void main(String[] args) {
        Thread t3 = new Thread(new MyThread3());
        t3.start();
    }
}
